<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        /*属性选择器*/
        [v-cloak] {
            display: none;
        }
    </style>
</head>
<body>
<div id="app">
    <!--属性绑定-->
    <img v-bind:src="logoImg" alt="">
    <!--简化写法 v-bind 直接写为 ：-->
    <img :src="logoImg" alt="">
</div>
</body>
<script src="lib/vue.js"></script>
<script type="text/javascript">
    new Vue({
        el: '#app',
        data: {
           logoImg: 'https://www.baidu.com/img/PCfb_5bf082d29588c07f842ccde3f97243ea.png',
        }
    })
</script>

</html>
